projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa06a4d
)
core: Minor code cleanup
author
Colin Walters
<walters@verbum.org>
Fri, 25 Nov 2011 17:01:05 +0000
(12:01 -0500)
committer
Colin Walters
<walters@verbum.org>
Fri, 25 Nov 2011 17:01:05 +0000
(12:01 -0500)
src/libotutil/ot-gio-utils.c
patch
|
blob
|
history
diff --git
a/src/libotutil/ot-gio-utils.c
b/src/libotutil/ot-gio-utils.c
index 2d55f9859f38f9a861f47fa99c32e47ede9964d9..28fd79c0bdd16a33e0bc3e34ebda887567430b0e 100644
(file)
--- a/
src/libotutil/ot-gio-utils.c
+++ b/
src/libotutil/ot-gio-utils.c
@@
-81,15
+81,15
@@
ot_gfile_load_contents_utf8 (GFile *file,
}
if (contents_out)
- *contents_out = ret_contents;
- else
-
g_free (ret_contents)
;
- ret_contents = NULL;
+ {
+ *contents_out = ret_contents;
+
ret_contents = NULL
;
+ }
if (etag_out)
- *etag_out = ret_etag;
- else
-
g_free (ret_etag)
;
- ret_etag = NULL;
+ {
+ *etag_out = ret_etag;
+
ret_etag = NULL
;
+ }
ret = TRUE;
out:
g_free (ret_contents);